
<table style='width: 100%'>
<tr>

<td valign='top' width='25%' align="center">
<div class="content">
<form action="../exec/misevi.php?action=new&type=haplotip" method="POST">
	<table class='tableResult'>
	
	<tr><th scope='col' class='spec'> Haplotipi </th></tr>
	<tr><td> <input type="text" name="haplotip" id="haplotip" placeholder="Naziv"></td></tr>
	<tr><th scope='col' class='spec'>
		<center><input type="submit" value='Dodaj'></center>
	</th></tr>
	</table>
</form>
</div>
</td>

<td valign='top' width='25%' align="center">
<div class="content">
<form action="../exec/misevi.php?action=new&type=soj" method="POST">
	<table class='tableResult'>
	<tr><th scope='col' class='spec' width='100px'> Sojevi </th></tr>
	<tr><td> <input type="text" name="soj" id="soj" placeholder="Naziv"></td></tr>
	<tr><th scope='col' class='spec'>
		<center><input type="submit" value='Dodaj'></center>
	</th></tr>
	</table>
</form>
</div>
</td>

<td valign='top' width='25%' align="center">
<div class="content">
<form action="../exec/misevi.php?action=new&type=transgen" method="POST">
	<table class='tableResult'>
	<tr><th scope='col' class='spec'> Transgeni </th></tr>
	<tr><td> <input type="text" name="transgen" id="transgen" placeholder="Naziv"></td></tr>
	<tr><th scope='col' class='spec'>
		<center><input type="submit" value='Dodaj'></center>
	</th></tr>
	</table>
</form>
</div>

</td>

<td valign='top' width='25%' align="center">
<div class="content">
<form action="../exec/misevi.php?action=new&type=nokgen" method="POST">
	<table class='tableResult'>
	<tr><th scope='col' class='spec' width='100px'> Nokautirani geni </th></tr>
	<tr><td> <input type="text" name="nokgen" id="nokgen" placeholder="Naziv"></td></tr>
	<tr><th scope='col' class='spec'>
		<center><input type="submit" value='Dodaj'></center>
	</th></tr>
	</table>
</form>
</div>

</td>

</tr>
<tr>

<td valign='top'>
<div class="content">
<table class='tableResult' width="100%">
<?php 
	$query = "SELECT * FROM haplotip;";
	$result = myQuery($query);
	
	while ($row = mysql_fetch_array($result, MYSQL_ASSOC)) {
		if (strlen($row['naziv']) != 0)
		print("<tr><td align='center'> " .
			$row['naziv'] . "</td>
			<td width='16px'> <a title='Pobriši haplotip' href='exec/misevi.php?action=delete&type=haplotip&id=" . $row['id'] . "'> 
					<img src='/images/delete.png' width='16px' height='16px'> </td>");
	}
?>
</table>
</div> <br>
</td>

<td valign='top'>
<div class="content">
<table class='tableResult' width="100%">
<?php 
	$query = "SELECT * FROM soj;";
	$result = myQuery($query);
	
	while ($row = mysql_fetch_array($result, MYSQL_ASSOC)) {
		if (strlen($row['naziv']) != 0)
		print("<tr><td align='center'> " .
			$row['naziv'] . "</td>
			<td width='16px'> <a title='Pobriši soj' href='exec/misevi.php?action=delete&type=soj&id=" . $row['id'] . "'> 
					<img src='/images/delete.png' width='16px' height='16px'> </td>");
	}
?>
</table>
</div> <br>
</td>

<td valign='top'>
<div class="content">
<table class='tableResult' width="100%">
<?php 
	$query = "SELECT * FROM transgen;";
	$result = myQuery($query);
	
	while ($row = mysql_fetch_array($result, MYSQL_ASSOC)) {
		if (strlen($row['naziv']) != 0)
		print("<tr><td align='center'> " . $row['naziv'] . "</td>
		<td width='16px'> <a title='Pobriši transgen' href='exec/misevi.php?action=delete&type=transgen&id=" . $row['id'] . "'> 
					<img src='/images/delete.png' width='16px' height='16px'> </td>");
	}
?>
</table>
</div> <br>
</td>

<td valign='top'>
<div class="content">
<table class='tableResult' width="100%">
<?php 
	$query = "SELECT * FROM nokgen;";
	$result = myQuery($query);
	
	while ($row = mysql_fetch_array($result, MYSQL_ASSOC)) {
		if (strlen($row['naziv']) != 0)
		print("<tr><td align='center'> " . $row['naziv'] . "</td>
		<td width='16px'> <a title='Pobriši nokautirani gen' href='exec/misevi.php?action=delete&type=nokgen&id=" . $row['id'] . "'> 
					<img src='/images/delete.png' width='16px' height='16px'> </td>");
	}
?>
</table>
</div> <br>
</td>

</tr>
</table>
